package com.example.testservice.model;

import java.util.*;

/**
 * @author pactera
 * @since 2021-08-13 星期五 16:25
 */
public class SmsNotifyConfig {
  private String id;
  private Boolean enabled;
  private String businessCode;
  private String baseUrl;
  private List<String> mobileList;
  private Set<String> statusChanges = new HashSet<>(Collections.singleton("UP:OFFLINE"));
  private Map<String, Object> additionalProperties = new HashMap<>();

  public SmsNotifyConfig() {
  }

  public SmsNotifyConfig(String id, Boolean enabled, String businessCode, String baseUrl, List<String> mobileList, Set<String> statusChanges, Map<String, Object> additionalProperties) {
    this.id = id;
    this.enabled = enabled;
    this.businessCode = businessCode;
    this.baseUrl = baseUrl;
    this.mobileList = mobileList;
    this.statusChanges = statusChanges;
    this.additionalProperties = additionalProperties;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public Boolean getEnabled() {
    return enabled;
  }

  public void setEnabled(Boolean enabled) {
    this.enabled = enabled;
  }

  public String getBusinessCode() {
    return businessCode;
  }

  public void setBusinessCode(String businessCode) {
    this.businessCode = businessCode;
  }

  public String getBaseUrl() {
    return baseUrl;
  }

  public void setBaseUrl(String baseUrl) {
    this.baseUrl = baseUrl;
  }

  public List<String> getMobileList() {
    return mobileList;
  }

  public void setMobileList(List<String> mobileList) {
    this.mobileList = mobileList;
  }

  public Set<String> getStatusChanges() {
    return statusChanges;
  }

  public void setStatusChanges(Set<String> statusChanges) {
    this.statusChanges = statusChanges;
  }

  public Map<String, Object> getAdditionalProperties() {
    return additionalProperties;
  }

  public void setAdditionalProperties(Map<String, Object> additionalProperties) {
    this.additionalProperties = additionalProperties;
  }
}
